package com.example.mapper;

import com.example.entity.Account;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;

/**
 * @author: 21050134
 * @date: 2023/10/20 17:48
 * @description:
 */
@Mapper
public interface AccountMapper {

	Account selectByUserId(Long userId);
	int decrease(Long userId, BigDecimal money);
}
